package com.example.mybatisplus.model.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lxp
 * @since 2025-03-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="BusinessRecommendations对象", description="")
public class BusinessRecommendations extends Model<BusinessRecommendations> {

    private static final long serialVersionUID = 1L;

    @TableField("predictedRating")
    private Double predictedRating;

    @TableId("business_id")
    private String businessId;

    private String name;

    private String address;

    private String city;

    private String state;

    private String postalCode;

    private Double latitude;

    private Double longitude;

    private Double stars;

    private Integer reviewCount;

    private Integer isOpen;

    private String attributes;

    private String categories;

    private String hours;

    private Double distance;

    @TableField("recommendation_index")
    private Integer recommendationIndex;


    @Override
    protected Serializable pkVal() {
        return this.businessId;
    }

}
